package com.fiewolf.lol.entities;

import java.util.ArrayList;
import java.util.List;

/**
 * 菜单
 * @author lx
 *
 */
public class Menu {
	/** 菜单Id*/
	private Integer id;
	/** 菜单编码*/
	private String code;
	/** 菜单名称*/
	private String name;
	/** 菜单地址*/
	private String urlpath;
	/** 父菜单ID*/
	private Integer parentid;
	/** 子菜单*/
	private List<Menu> menus = new ArrayList<>();
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrlpath() {
		return urlpath;
	}
	public void setUrlpath(String urlpath) {
		this.urlpath = urlpath;
	}
	public Integer getParentid() {
		return parentid;
	}
	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}
	public List<Menu> getMenus() {
		return menus;
	}
	public void setMenus(List<Menu> menus) {
		this.menus = menus;
	}
	
}
